<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="../static/css/login.css">
</head>
<body>
    <div class="container">
        <div class="login-wrapper">
            <div class="header">
				<img src="{{ url_for("static", filename="res/img/logo.png") }}" alt="logo" class="logo">
                <div>基于Flask的智能图书管理系统</div>
                <div class="msg" style="color: red">{{ msg }}</div>
            </div>
            <form class="form-wrapper" action="/login" method="post">
                <label>
                    <input type="text" name="username" placeholder="用户名" class="input-item" required>
                </label>
                <label>
                    <input type="password" name="password" placeholder="密码" class="input-item" required>
                </label>
                <button type="submit" class="btn">登录</button>
            </form>
            <div class="msg">
                没有账户？
                <a href="/registerForm">去注册</a>
            </div>
{#            <div class="msg">#}
{#                忘记密码？#}
{#                <a href="">验证码登录</a>#}
{#            </div>#}
        </div>
    </div>
    <div class="copyright">copyright@org.csu.HelloWorld-Team</div>
</body>
</html>
